cmake_minimum_required(VERSION 3.1.0)
project(TESTSO CXX)

set(CMAKE_VERBOSE_MAKEFILE ON)

get_source_file_property(_flags a.cc COMPILE_FLAGS)
message(STATUS ${_flags})

set_source_files_properties(a.cc PROPERTIES COMPILE_FLAGS "-O2 -g -fPIC -DUSE_HOST -I/usr/include/gtest")
get_source_file_property(_flags a.cc COMPILE_FLAGS)
message(${_flags})

add_executable(${PROJECT_NAME} a.cc sub.cc)
